#ifndef AVATAR_H
#define AVATAR_H
#include <SFML\Graphics.hpp>

using namespace sf;

enum Direction{ Left, Right, Up, Down};

class Avatar{

private:
	RectangleShape myForm;
	
public:
	Vector2f _velocity;
	Avatar(int height, int width, Color color, Vector2f velocity, float pos_x, float pos_y);
	~Avatar();
	RectangleShape& getForm();
	void move(float delta);
	void setVelocity(Vector2f velocity);
	void addVelocity(Vector2f velocity);
	void draw(RenderWindow& window);
};
#endif